//
//  KLMConst.swift
//  KLM_GN
//
//  Created by Nic on 2025/3/17.
//

import Foundation

extension Notification.Name {
    
    // 定义主题切换通知
    static let themeChanged = Notification.Name("ThemeChangedNotification")
    
    
    // 家庭信息改变通知
    static let createHomeSuccess = Notification.Name("CreateHomeSuccessNotification")
    static let joinHomeSuccess = Notification.Name("JoinHomeSuccessNotification")
    static let deleteHomeSuccess = Notification.Name("DeleteHomeSuccessNotification")
    static let homeInfoChanged = Notification.Name("HomeInfoChangedNotification")
    static let homeNameChanged = Notification.Name("HomeNameChangedNotification")
    
    static let homeMemberChanged = Notification.Name("HomeMemberChangedNotification")
    
    
    
    // 定义主题切换通知
    
}

struct NotificationKey {
    static let createHomeKey = "CreatedHomeId"
    static let deleteHomeKey = "DeletedHomeId"
}

